package com.huanying.framework.user;

import java.util.List;
import java.util.Map;

import com.huanying.framework.PageBean;
import com.huanying.goodjob.appraise.Appraise;
import com.huanying.goodjob.skill.Skill;

public interface UserService {
	
	public void add(User user) throws Exception;
	
	public void update(User user) throws Exception ;	
	public void delete(User user) throws Exception;
	public void addUser_Label(User_Label user_label) throws Exception;
	
	public User getbyId(int user_id) throws Exception ;
	
	//public User getbyPhonePwd(String phone,String password) throws Exception;
	public User getbyPhone(String phone) throws Exception;
	
	
	public PageBean searchUsers(Map<String, String> map, int pageSize, int page) throws Exception ;
	
	public PageBean searchUsersAuthenticPer(Map<String, String> map, int pageSize, int page) throws Exception;
    
	public PageBean searchUsersAuthenticCom(Map<String, String> map, int pageSize, int page) throws Exception;
	
	//public void beanRecord(int user_id,int beans) throws Exception;
	//public void evaluationRecord(int user_id,int score,int type) throws Exception;
	
	//public User getbyNameIdCard(String name,String id_card) throws Exception;
	//public User getbyIdCard(String id_card) throws Exception;
	
	//public void sendSms(String PhoneNumbers,String TemplateCode,String RequestId,String code,String Message,String BizId)throws Exception;
	//public void addSmsCode(String phone,String code)throws Exception;
	public void addCache(User user) throws Exception;
	public User queryCache(String id) throws Exception;
	public void delCache(String id) throws Exception;
	
}
